package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86138
 * Date: 2024-07-09
 * Time: 17:04
 */
public class Dog extends Animal {
    public Dog(String name,int age){
        super(name,age);
    }
    @Override
    public void eat(){
        System.out.println("吃狗粮");
    }
}
